package com.reptile.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 记录爬虫的一些数据
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("记录爬虫异常一些数据VO")
public class ReptileDataDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("下标")
    private Integer index;

    @ApiModelProperty("开始下标")
    private Integer start;

    @ApiModelProperty("结束下标")
    private Integer end;

    @ApiModelProperty("发生异常的url")
    private String errorUrl;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("默认爬取页数")
    private Integer defaultPage = 10;

}
